﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200027D RID: 637
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ChessRoguePickAvatarCsReq : IMessage<ChessRoguePickAvatarCsReq>, IMessage, IEquatable<ChessRoguePickAvatarCsReq>, IDeepCloneable<ChessRoguePickAvatarCsReq>, IBufferMessage
	{
		// Token: 0x17000854 RID: 2132
		// (get) Token: 0x06001C92 RID: 7314 RVA: 0x00051BAD File Offset: 0x0004FDAD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ChessRoguePickAvatarCsReq> Parser
		{
			get
			{
				return ChessRoguePickAvatarCsReq._parser;
			}
		}

		// Token: 0x17000855 RID: 2133
		// (get) Token: 0x06001C93 RID: 7315 RVA: 0x00051BB4 File Offset: 0x0004FDB4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ChessRoguePickAvatarCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000856 RID: 2134
		// (get) Token: 0x06001C94 RID: 7316 RVA: 0x00051BC6 File Offset: 0x0004FDC6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ChessRoguePickAvatarCsReq.Descriptor;
			}
		}

		// Token: 0x06001C95 RID: 7317 RVA: 0x00051BCD File Offset: 0x0004FDCD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRoguePickAvatarCsReq()
		{
		}

		// Token: 0x06001C96 RID: 7318 RVA: 0x00051BE0 File Offset: 0x0004FDE0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRoguePickAvatarCsReq(ChessRoguePickAvatarCsReq other) : this()
		{
			this.baseAvatarIdList_ = other.baseAvatarIdList_.Clone();
			this.propEntityId_ = other.propEntityId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06001C97 RID: 7319 RVA: 0x00051C16 File Offset: 0x0004FE16
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRoguePickAvatarCsReq Clone()
		{
			return new ChessRoguePickAvatarCsReq(this);
		}

		// Token: 0x17000857 RID: 2135
		// (get) Token: 0x06001C98 RID: 7320 RVA: 0x00051C1E File Offset: 0x0004FE1E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> BaseAvatarIdList
		{
			get
			{
				return this.baseAvatarIdList_;
			}
		}

		// Token: 0x17000858 RID: 2136
		// (get) Token: 0x06001C99 RID: 7321 RVA: 0x00051C26 File Offset: 0x0004FE26
		// (set) Token: 0x06001C9A RID: 7322 RVA: 0x00051C2E File Offset: 0x0004FE2E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint PropEntityId
		{
			get
			{
				return this.propEntityId_;
			}
			set
			{
				this.propEntityId_ = value;
			}
		}

		// Token: 0x06001C9B RID: 7323 RVA: 0x00051C37 File Offset: 0x0004FE37
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ChessRoguePickAvatarCsReq);
		}

		// Token: 0x06001C9C RID: 7324 RVA: 0x00051C48 File Offset: 0x0004FE48
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ChessRoguePickAvatarCsReq other)
		{
			return other != null && (other == this || (this.baseAvatarIdList_.Equals(other.baseAvatarIdList_) && this.PropEntityId == other.PropEntityId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06001C9D RID: 7325 RVA: 0x00051C98 File Offset: 0x0004FE98
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.baseAvatarIdList_.GetHashCode();
			if (this.PropEntityId != 0U)
			{
				num ^= this.PropEntityId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06001C9E RID: 7326 RVA: 0x00051CE5 File Offset: 0x0004FEE5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06001C9F RID: 7327 RVA: 0x00051CED File Offset: 0x0004FEED
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06001CA0 RID: 7328 RVA: 0x00051CF8 File Offset: 0x0004FEF8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.baseAvatarIdList_.WriteTo(ref output, ChessRoguePickAvatarCsReq._repeated_baseAvatarIdList_codec);
			if (this.PropEntityId != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.PropEntityId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06001CA1 RID: 7329 RVA: 0x00051D48 File Offset: 0x0004FF48
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.baseAvatarIdList_.CalculateSize(ChessRoguePickAvatarCsReq._repeated_baseAvatarIdList_codec);
			if (this.PropEntityId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.PropEntityId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06001CA2 RID: 7330 RVA: 0x00051D9C File Offset: 0x0004FF9C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ChessRoguePickAvatarCsReq other)
		{
			if (other == null)
			{
				return;
			}
			this.baseAvatarIdList_.Add(other.baseAvatarIdList_);
			if (other.PropEntityId != 0U)
			{
				this.PropEntityId = other.PropEntityId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06001CA3 RID: 7331 RVA: 0x00051DE9 File Offset: 0x0004FFE9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06001CA4 RID: 7332 RVA: 0x00051DF4 File Offset: 0x0004FFF4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 40U && num != 42U)
				{
					if (num != 120U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.PropEntityId = input.ReadUInt32();
					}
				}
				else
				{
					this.baseAvatarIdList_.AddEntriesFrom(ref input, ChessRoguePickAvatarCsReq._repeated_baseAvatarIdList_codec);
				}
			}
		}

		// Token: 0x04000BD9 RID: 3033
		private static readonly MessageParser<ChessRoguePickAvatarCsReq> _parser = new MessageParser<ChessRoguePickAvatarCsReq>(() => new ChessRoguePickAvatarCsReq());

		// Token: 0x04000BDA RID: 3034
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000BDB RID: 3035
		public const int BaseAvatarIdListFieldNumber = 5;

		// Token: 0x04000BDC RID: 3036
		private static readonly FieldCodec<uint> _repeated_baseAvatarIdList_codec = FieldCodec.ForUInt32(42U);

		// Token: 0x04000BDD RID: 3037
		private readonly RepeatedField<uint> baseAvatarIdList_ = new RepeatedField<uint>();

		// Token: 0x04000BDE RID: 3038
		public const int PropEntityIdFieldNumber = 15;

		// Token: 0x04000BDF RID: 3039
		private uint propEntityId_;
	}
}
